package com.mapper;

import com.pojo.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMapper {
    List<SysRole> list(@Param("begin") Integer begin,@Param("limit") Integer limit,@Param("roleName") String roleName);

    int count(@Param("roleName") String roleName);

    int add(SysRole sysRole);

    int edit(SysRole sysRole);

    int del(@Param("roleId")Integer id);

    SysRole selectId(@Param("roleId") Integer id);
}
